import {WeaTools} from 'ecCom'

export const planReportDiagram = params => {//组织报表
    return WeaTools.callApi('/api/workrelate/plan/diagram', 'POST', params);
}


export const planWorkerReportDiagram = params => {//人员报表
    return WeaTools.callApi('/api/workrelate/plan/diagram-worker', 'POST', params);
}


export const getYearList = params => {//年份
    return WeaTools.callApi('/api/workrelate/plan/getYearList', 'GET', params);
}


export const exportExcel = params => {//导出
    return WeaTools.callApi('/api/workrelate/plan/export', 'POST', params);
}